package com.lyy.mybatis.sensitive.secret;

import com.lyy.mybatis.sensitive.utils.Secret62Util;
import lombok.Data;

/**
 * 将62进制的字符串　加解密　成新的62进制字符串
 */
public class Secret62 extends SecretAbstract {


    @Override
    public String encrypt(String str) {
        return Secret62Util.encrypt(str);
    }

    @Override
    public String encryptWithOutFlag(String str) {
        return Secret62Util.encryptWithOutPrefix(str);
    }

    @Override
    public String decrypt(String str) {
        return Secret62Util.decrypt(str);
    }
}
